package cn.micro.keep.accounts.service;

import cn.micro.keep.accounts.api.Page;
import cn.micro.keep.accounts.entity.AccountDimShareGroup;
import cn.micro.keep.accounts.entity.dto.AccountDimShareGroupDTO;
import cn.micro.keep.accounts.entity.dto.AccountDimShareGroupSearch;
import cn.micro.keep.accounts.entity.dto.BaseDTO;
import cn.micro.keep.accounts.entity.vo.AccountDimShareGroupVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 分享组信息表 服务类
 * </p>
 *
 * @author 柘阳科技
 * @since 2023-11-08
 */
public interface AccountDimShareGroupService extends IService<AccountDimShareGroup> {

    List<AccountDimShareGroupVO> listByUser(AccountDimShareGroupSearch search);

    boolean create(AccountDimShareGroupDTO dto);

    boolean dismissGroup(BaseDTO dto);

    boolean exitGroup(Long id);
}
